package com.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.entity.MyTable;
import com.entity.TableInfo;
import org.springframework.stereotype.Repository;



public interface CreatetableDao {
   public int createNewTable(MyTable tables);//创建新表
   public int insertNewTable(@Param("uid")int uid,@Param("mytname")String mytname,@Param("unitname")String unitname);//插入新表信息
   public List<TableInfo> findMyTable(int uid);//查找用户拥有的表
   
   //向具体表中插入一条数据
   public int insertNewRow(@Param("tablename")String tablename,@Param("ziduans")List<String> ziduans,@Param("values")List<String> values);
}
